﻿using WMLogistics.Model;
using WMLogistics_Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMLogistics.Service
{
   public  class BidDisputeService
    {
       private BidDisputeDao dao = new BidDisputeDao();

       public int BidDisputeAdd(wuliu_bid_dispute model)
       {
          return dao.BidDisputeAdd(model);
       }
       public object GelBidList(int companyid, int pageIndex, int pageSize)
       {
           return dao.GelBidList(companyid,pageIndex,pageSize);
       }

       public object GelBidDisputeList(int companyid, int pageIndex, int pageSize)
       {
           return dao.GelBidDisputeList(companyid, pageIndex, pageSize);
       }
       public object BidDisputeGet(int id)
       {
           return dao.BidDisputeGet(id);
       }
       /// <summary>
       /// 新增点评
       /// </summary>
       /// <param name="mod"></param>
       /// <returns></returns>
       public bool AddComment(wuliu_wlcompany_comment mod)
       {
           return dao.AddComment(mod);
       }
    }
}
